package java_1_8.interface_test.capacity;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("二哈");
        dog.run();
        Frog frog=new Frog("小青蛙");
        frog.run();
        frog.swim();
        Goose goose=new Goose("大鹅");
        goose.run();
        goose.swim();
        goose.fly();
    }
}
